package cpr.data;

import cpr.DefaultCommandHandler;

public class CmdCallLegacy extends DefaultCommandHandler {
	private String legacyCmd = null;
	public CmdCallLegacy(String cmd) {
		super(cmd);
		legacyCmd = cmd;
		setQuickInfo("performs "+legacyCmd);
	}
	public CmdCallLegacy(String cmd, String legacyCmd) {
		super(cmd);
		this.legacyCmd = legacyCmd;
		setQuickInfo("performs "+legacyCmd);
	}
	public void execute(String[] params) {
		getCommandContext().performLegacyCommand(legacyCmd);
	}
}
